package com.niit.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Product {
    private Integer pid;
    private String productName;
    private BigDecimal price;
    private Integer quantity;
    private String description;
    private byte[] picture;

    public Product(String productName) {
        this.productName = productName;
    }
}